package com.example.demo.client.evt.sysbasequery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel("资源树角色参数")
public class ResourceTreeOfRoleEvt implements Serializable {
    private static final long serialVersionUID = 609599324488977830L;
    @ApiModelProperty("资源类型")
    private Long resourceTypeId;
    @ApiModelProperty("角色ID")
    private Long roleId;
    @ApiModelProperty("当前登录用户名")
    private String loginName;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public Long getResourceTypeId() {
        return resourceTypeId;
    }

    public void setResourceTypeId(Long resourceTypeId) {
        this.resourceTypeId = resourceTypeId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "ResourceTreeOfRoleEvt{" +
                "resourceTypeId=" + resourceTypeId +
                ", roleId=" + roleId +
                ", loginName='" + loginName + '\'' +
                '}';
    }
}
